{% extends "blog/base.html" %}
{% block title %}{{block.super}}编辑文章{% endblock %}
{% block css %}{{block.super}}
    <link href="{{APPSTATIC}}css/markdown.css" rel="stylesheet">
    <link href="{{APPSTATIC}}css/article-view.css" rel="stylesheet">
    <link href="{{APPSTATIC}}css/user-box.css" rel="stylesheet">
    <link href="{{APPSTATIC}}css/editor.css" rel="stylesheet">
{% endblock %}
{% block js %}{{block.super}}
    <script src="{{APPSTATIC}}js/marked.min.js"></script>
    <script src="{{APPSTATIC}}js/editor.js"></script>
{% endblock %}
{% block wrap %}
    <div class="layout">
        <div class="btns-right">
            <button value="save">保存</button>
            <button value="submit">提交</button>
        </div>
        <div class="btns">
            <button key="bold">&#xf032;</button>
            <button key="italic">&#xf033;</button>
            <button key="anchor">&#xf0c1;</button>
            <button key="line">&#xf10d;</button>
            <button key="code">&#xf121;</button>
            <button key="img">&#xf03e;</button>
            <button key="li">&#xf0ca;</button>
            <button key="title">&#xf1dc;</button>
            <button key="hr">&#xf0cd;</button>
            <button key="table">&#xf00a;</button>
        </div>
        <div class="raw">
            <textarea name="" id="inputer" class="raw">{{content}}</textarea>
        </div>
        <div id="html"></div>
    </div>
{% endblock %}